﻿<?php get_header(); ?>

	<div id="content">

	<?php if (have_posts()) : ?>

		<?php while (have_posts()) : the_post(); ?>

			<div class="post" id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
				<hr />
				
				<div class="p_meta">
				<?php the_time('Y年Fj日 l') ?> |
				Posted in <?php the_category(', ') ?> |
				<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
				</div>
				
				<div class="entry">
					<?php the_content('Read the rest of this entry &raquo;'); ?>
				</div>

				<p class="p_meta"><?php the_tags('Tags: ', ', ', ''); ?> <?php edit_post_link('Edit', ' | ', ''); ?>  </p>
			</div>

		<?php endwhile; ?>
		<div id="pg_nv">
			<div class="rd_ul"><div class="rd_ur"><div class="rd_ll"><div class="rd_lr"><div class="in_pv">
			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else {echo 'Please Install WP-PageNavi!';} ?>
			</div></div></div></div></div>
		</div>
	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<p class="center">Sorry, but you are looking for something that isn't here.</p>
		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

	<?php endif; ?>

	</div><!--div content end-->

</div><!--div page end-->
<?php get_sidebar(); ?>

<?php get_footer(); ?>
